package org.sixlab.googlecode;
/**
 * 
 * @author HundredKG
 * 
 */
public class TestAlgo {

	public static void main(String[] args) {
		System.out.println("___Queue____");
		Queue aQueue = new Queue();
		System.out.println("___Queue.isEmpty()____");
		System.out.println(aQueue.isEmpty());
		aQueue.put("Queue 1");
		aQueue.put("Queue 2");
		aQueue.put("Queue 3");
		aQueue.put(new Integer(15));
		aQueue.put(new Boolean(true));
		System.out.println("___Queue.toString()____");
		aQueue.toString();
		System.out.println("___Queue.isEmpty() after Queue.put()____");
		System.out.println(aQueue.isEmpty());
		System.out.println("___Queue.get()____");
		Object tempoObject = aQueue.get();
		System.out.println(tempoObject);
		System.out.println("___Queue.toString() after Queue.get()____");
		aQueue.toString();
		System.out.println();
		System.out.println("___Stack____");
		Stack aStack = new Stack();
		System.out.println("___Stack.isEmpty()____");
		System.out.println(aStack.isEmpty());
		aStack.push("stack 1");
		aStack.push("stack 2");
		aStack.push("stack 3");
		aStack.push("stack 4");
		System.out.println("___Stack.toString()____");
		aStack.toString();
		System.out.println("___Stack.isEmpty() after Stack.push()____");
		System.out.println(aStack.isEmpty());
		System.out.println("___Stack.pop()____");
		System.out.println(aStack.pop());
		System.out.println("___Stack.toString() after Stack.pop()____");
		aStack.toString();
		System.out.println("___Stack.peer()____");
		System.out.println(aStack.peek());
		System.out.println("___Stack.toString after Stack.peer()____");
		aStack.toString();
	}

}
